<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
  <title>Document</title>
</head>
<style>
  body,
  ul,
  dl,
  dd {
    margin: 0;
    padding: 0;
  }

  ul {
    list-style: none;
  }

  .carousel-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    width: 70em;
    height: auto;
    overflow: hidden;
  }

  .carousel-container .carousel-wrapper {
    display: flex;
    width: 500%;
    flex-direction: row;
    flex-wrap: nowrap;
    animation: autoPlay 10s steps();
  }

  .carousel-container .carousel-wrapper li {
    flex: 1;
  }

  .carousel-container .carousel-wrapper li img {
    max-width: 100%;
    height: auto;
  }
  .indicator-container {
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translate(-50%);
  }

  .indicator-container .indicator-wrapper {
    display: flex;
    flex-wrap: nowrap;
  }

  .indicator-container .indicator-wrapper .dot {
    flex: 1;
    background: rgba(255, 255, 255, 0.4);
    width: 1.8em;
    height: 1.8em;
    line-height: 1.8em;
    text-align: center;
    margin-right: 0.5em;
    border-radius: 50%;
    user-select: none;
  }

  .indicator-container .indicator-wrapper .dot:hover {
    cursor: pointer;
  }

  .indicator-container .indicator-wrapper .dot.active {
    background-color: orange;
  }
</style>
<body>
<div class="carousel-container">
  <ul class="carousel-wrapper">
    <li>
      <img src="./images/slide01.jpg" alt=""/>
    </li>
    <li>
      <img src="./images/slide02.webp" alt=""/>
    </li>
    <li>
      <img src="./images/slide03.webp" alt=""/>
    </li>
    <li>
      <img src="./images/slide04.webp" alt=""/>
    </li>
    <li>
      <img src="./images/slide05.webp" alt=""/>
    </li>
  </ul>
  <div class="indicator-container">
    <dl class="indicator-wrapper">
      <dd class="dot active">1</dd>
      <dd class="dot">2</dd>
      <dd class="dot">3</dd>
      <dd class="dot">4</dd>
      <dd class="dot">5</dd>
    </dl>
  </div>
</div>
</body>
</html>
